#ifdef _WIN32

#pragma once
#include "render_control_opengl_impl_base.h"
#include "widget_win32.h"
#include <windows.h>

namespace krryn{
namespace system_imp{
	class render_control_opengl_impl_win32 : public krryn::gui::render_control_opengl_impl_base, public widget_win32{
	public:
		virtual void make(const krryn::gui::render_control_opengl_initializer &a_Initializer);
		virtual void swap_buffers();
		virtual void make_current();
		virtual void destroy() { destroy_window(); }
	private:
		void destroy_window();
		HDC	m_hDC;
		HGLRC m_hRC;
	//	HINSTANCE m_hInstance;
		bool m_Fullscreen;
	};
}
}

#endif